package com.chen.exception;

import lombok.Getter;

/**
 * @author chenchao
 * @date 2022/8/16 22:18
 */
@Getter
public class ServiceException extends RuntimeException {

    private Integer code;

    public ServiceException(Integer code, String msg) {
        super(msg);
        this.code = code;
    }
}
